package com.yykj.hospital.server.service;

import cn.afterturn.easypoi.excel.entity.result.ExcelImportResult;
import com.yykj.common.vo.PageData;
import com.yykj.hospital.server.dto.HospitalDoctorBindLabelListDTO;
import com.yykj.hospital.server.dto.HospitalLabelImportDTO;
import com.yykj.hospital.server.form.HospitalDoctorBindLabelListForm;
import com.yykj.hospital.server.form.HospitalLabelBindForm;
import com.yykj.hospital.server.form.HospitalLabelListForm;
import com.yykj.hospital.server.model.entity.HospitalDoctorBindLabel;
import com.yykj.hospital.server.model.entity.HospitalLabel;

import java.util.List;

/**
 * Created by chendg
 * on 2021/10/31 0031.
 */
public interface HospitalLabelService {

    HospitalLabel editHospitalLabel(HospitalLabel label);

    PageData<HospitalLabel> listHospitalLabel(HospitalLabelListForm form);

    List<HospitalLabel> listAllHospitalLabel(Integer hospitalId);

    boolean checkHospitalLabelList(Integer hospitalId, ExcelImportResult<HospitalLabelImportDTO> result);

    void importHospitalLabelList(Integer hospitalId, List<HospitalLabelImportDTO> list);

    void bindHospitalLabel(HospitalLabelBindForm form);

    void deleteBindHospitalLabel(Integer id);

    PageData<HospitalDoctorBindLabel> listBindHospitalLabel(HospitalDoctorBindLabelListForm form);
}
